package com.cyw.common.constants;

/**
 * @author cyw
 * @date 2018-11-23 11:27
 */
public class CommonConstant {

    public static final String traceIdKey = "traceId";

    public static final String ENCODING = "UTF-8";
    public static final String XML_INDENT = "yes";
    public static final String XML_METHOD = "xml";
    public static final String HTML_METHOD = "html";

    /**
     * MP selectOne -> 查询多条记录会报错 需要在 Wrapper 追加该条件
     * */
    public static final String SELECT_ONE = "limit 1";

    /**
     * json content-type
     */
    public static final String CONTENT_TYPE_JSON = "application/json";


}
